// UeDbElbowSet.h: interface for the UeDbElbowSet class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_UEDBELBOWSET_H__2D824E39_606A_4EEC_8355_CA293F538202__INCLUDED_)
#define AFX_UEDBELBOWSET_H__2D824E39_606A_4EEC_8355_CA293F538202__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "UeDbElbowIndexSet.h"
#include "UeDbElbow.h"

#define PI 3.1415926535

class UeDbElbowSet : public UeDbElbowIndexSet  
{
	DECLARE_DYNAMIC(UeDbElbowSet)

public:
	UeDbElbowSet();
	UeDbElbowSet(const UeDbElbowIndex* pElbowIndex);
	virtual ~UeDbElbowSet();

public:
	virtual BOOL open();
	virtual VOID setKey(INT nKey);

public:
	inline VOID setAngle(DOUBLE dbAngle){m_dbAngle = dbAngle;}

	VOID set(const UeDbElbowIndex* pElbowIndex);
	VOID setAngle(const CString& strAngle);
	VOID setEndType(const CString& strEndType);
	VOID setDW(DOUBLE dbDWMin, DOUBLE dbDWMax = -1.0);
	VOID setElbowThick(DOUBLE dbElbowThickMin, DOUBLE dbElbowThickMax = -1.0);
	VOID setElbowRadius(DOUBLE dbElbowRadiusMin, DOUBLE dbElbowRadiusMax = -1.0);

private:
	DOUBLE m_dbAngle;
};
#endif // !defined(AFX_UEDBELBOWSET_H__2D824E39_606A_4EEC_8355_CA293F538202__INCLUDED_)
